class_name LandMoveState extends State

func _init(): state_name = "land_move"

func process(_delta: float):
	if character is Player:
		var dir = Input.get_axis \
		(character.playerId + "_move_left", character.playerId + "_move_right")
		character.velocity = Vector2(dir * character.move_speed, 0)
		character.move_and_slide()
		
	elif character is Monster:
		pass # TO DO...
	
